/*
 *	This file is part of Lounge-Cast.
 *
 *  Author:  	Markus Moormann
 *	E-mail:  	mmoorman@uni-osnabrueck.de
 *	Copyright:	University of Osnabrueck (Zentrum Virtuos)
 * 	Website:	www.uni-osnabrueck.de
 *	Date:		16.02.2011
 *
 *	Lounge-Cast is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *	Lounge-Cast is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Lounge-Cast.  If not, see <http://www.gnu.org/licenses/>.
 */
package webservice.vo;

import java.util.Date;

/**
 * class represents a feed
 * 
 * @author Markus Moormann
 */
public class FeedVO {

	/**
	 * the id of the feed
	 */
	public int feed_id;
	/**
	 * the URL pointing to the feed
	 */
	public String url;
	/**
	 * the title of the feed
	 */
	public String title;
	/**
	 * trust level
	 * can be 1 for trusted feed and
	 * 0 for untrusted feed
	 */
	public int trust_level;
	/**
	 * the date when added
	 */
	public Date added;
	/**
	 * the valid time of a feed item
	 */
	public long feed_item_valid_time;
	/**
	 * playlist_id of the playlist where the new items should be pushed
	 * if <code>auto_save_to_playlist </code> is <code>true</code>
	 */
	public int playlist_id;
	/**
	 * indicated whether new items shall be automatically pushed to playlist as media
	 */
	public boolean auto_save_to_playlist;
	
	public boolean add_to_newsticker;
	
	public int feed_item_duration;
	
	public String feed_item_background_image;
	
	public int background_color;
	
	/**
	 * margin from bottom;
	 */
	public int feed_item_margin_bottom;
	/**
	 * margin from left
	 */
	public int feed_item_margin_left;
	/**
	 * margin from top
	 */
	public int feed_item_margin_top;
	/**
	 * margin from right
	 */
	public int feed_item_margin_right;
}
